
<!-- sidebar start -->
<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
  <div class="am-offcanvas-bar admin-offcanvas-bar">
    <ul class="am-list admin-sidebar-list"  id="collapase-nav-1">
      <%for(menu in menuList!){%>
      <li class="am-panel">
        <a class="am-cf" data-am-collapse="{parent: '#collapase-nav-1', toggle:true, target: '#${menu.name!}'}">
          <span class="${menu.icon}"></span>
          ${menu.name!}
          <span class="am-icon-angle-down am-fr am-margin-right"></span>
        </a>
        <ul class="am-list am-collapse admin-sidebar-sub<%if(menuLP.index==1){%> am-in<%}%>" id= "${menu.name!}">
          <%for(children in menu.children!){%>
          <li>
            <a href="${base}${children.url!}" target="mainFrame">${children.name!}</a>
          </li>
          <%}%></ul>
      </li>
      <%}%></ul>
    <br/>
  </div>
</div>
<!-- sidebar end -->